package cn.hl.sfzy.mapper;

import cn.hl.sfzy.entity.Course;

import cn.hl.sfzy.entity.UserCourse;

import java.util.List;

public interface UserCourseMapper {

    List<Course> selectByUserId(Long user_id);
    int insert(UserCourse userCourse);
    int selectByUserAndCourse(UserCourse userCourse);
    int delete(int id);
    int deleteByUserAndCourse(UserCourse userCourse);

    int updatejia(Integer id);
    int updatejian(Integer id);
}
